const { contextBridge,ipcRenderer } = require("electron")
const closeNewWindow = () => {
  ipcRenderer.invoke('close-new-window')
}
contextBridge.exposeInMainWorld("myApi", {
  closeNewWindow
})

